<?php

namespace app\branch\model;
use think\Model;
/**
 * 会员模块旅行币模型
 */
class Intergrates extends Model
{
    use \app\common\traits\model\TraitModel;
    protected $table = 'integral_detail';
    protected $autoWriteTimestamp = 'timestamp';
    protected $createTime = 'created_at';
    protected $updateTime = 'updated_at';
    
   /**
     * [getUserList 积分流水列表]
     * @param  [type] $querys [description]
     * @return [type]         [description]
     */
    public function getIntergratesList($querys=[])
    {
        return $this->getInfoList($querys,'created_at desc');
    }

}
